import FormRelatedMaterialSetting from './FormRelatedMaterialSetting.vue';
import FormRelatedMaterialPreview from './FormRelatedMaterialPreview.vue';
import FormRelatedMaterialBuild from './FormRelatedMaterialBuild.vue';
import { t } from '@src/locales'

let FormMaterialsBillField = {
  formType: 'relationMaterials',
  name: t('common.fields.relatedMaterial.displayName'),
  component: {
    preview: FormRelatedMaterialPreview,
    build: FormRelatedMaterialBuild,
    extend: {
      'product_menu_productRelateMateriel_setting': FormRelatedMaterialSetting
    },
  },
};

export default [FormMaterialsBillField];
